package lzy.service.impl;

import lzy.entity.Ginseng;
import lzy.mapper.GinsengMapper;
import lzy.service.GinsengService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class GinsengServiceImpl implements GinsengService {
    @Autowired
    private GinsengMapper mapper;

    @Override
    public List<Ginseng> findAll() {
        return mapper.findAll();
    }
} 